import request from '@/utils/request'

// 库存盘点-列表
export function queryInventoryCountList(data) {
  return request({
    url: '/wms_v1_pc/inventory-count-order/list-inventory-count-order',
    method: 'POST',
    data
  })
}

// 库存盘点-添加
export function saveInventoryCount(data) {
  return request({
    url: '/wms_v1_pc/inventory-count-order/add-inventory-count-order',
    method: 'POST',
    data
  })
}

// 库存盘点-修改
export function updateInventoryCount(data) {
  return request({
    url: '/wms_v1_pc/inventory-count-order/update-inventory-count-order',
    method: 'POST',
    data
  })
}

// 库存盘点-查看
export function getInventoryCountDetail(params) {
  return request({
    url: '/wms_v1_pc/inventory-count-order/get-inventory-count-order-detail',
    method: 'GET',
    params
  })
}

// 库存盘点-审核
export function verifyInventoryCount(data) {
  return request({
    url: '/wms_v1_pc/inventory-count-order/verify-inventory-count-order',
    method: 'POST',
    data
  })
}

// 库存盘点-取消
export function cancelInventoryCount(data) {
  return request({
    url: '/wms_v1_pc/inventory-count-order/cancel-inventory-count-order',
    method: 'POST',
    data
  })
}

// 库存盘点-导入
export function importInventoryCount(data) {
  return request({
    url: '/wms_v1_pc/inventory-count-order/import-inventory-count-order',
    method: 'POST',
    data
  })
}

// 库存盘点-确认
export function confirmInventoryCount(data) {
  return request({
    url: '/wms_v1_pc/inventory-count-order/confirm-inventory-count-order',
    method: 'POST',
    data
  })
}

// 库存盘点-打印
export function printInventoryCount(data) {
  return request({
    url: '/wms_v1_pc/inventory-count-order/print-inventory-count-order',
    method: 'POST',
    data
  })
}

// 库存盘点-明细
export function printDetailInventoryCount(data) {
  return request({
    url: '/wms_v1_pc/inventory-count-order/detail-inventory-count-order',
    method: 'POST',
    data
  })
}